﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="用户管理.aspx.cs" Inherits="联盟酒店.用户管理"  EnableEventValidation="false"%>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:GridView ID="gdvshowuserinfo" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:BoundField DataField="cid" HeaderText="用户编号" />
                    <asp:BoundField DataField="nameper" HeaderText="用户姓名" />
                    <asp:BoundField DataField="nid" HeaderText="身份证号" />
                    <asp:BoundField DataField="sex" HeaderText="性别" />
                    <asp:BoundField DataField="tel" HeaderText="电话号" />
                    <asp:TemplateField HeaderText="操作">
                        <ItemTemplate>
                            <asp:Button ID="btndelete" runat="server" CommandArgument='<%# Eval("cid") %>'  Text="删除" OnCommand="btndelete_Command" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <br />
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加用户" />
        </div>
    </form>
</body>
</html>
